package com.bskj.sj.bean.vo.resp;



/**
 * Created by mocaijin on 27/01/2018.
 */
public class UserCouponReleaseRespVo {
    private Integer shopId;
    private String shopNane;
    private Integer usedCount;
    private Integer totalCount;
    private String parkingShopName;
    private String parkingShopLocation;
    private String parkingShopOwnerName;
    
    private Integer couponMoneyType = 1; //停车劵规则类型（1-看优惠金额 2-全免  3-免费时间）
    
    private Integer limitModeType = 1;  //发放限制的模式（1-单位时间内发放张数限制  2-库存模式）
    private Integer inventory;  //库存量 （当limit_mode_type为2时有效）
    
    private String shopCouponName;
    
    private Integer balance;
    private String couponLimitType;
    
    private String totalMsg;
    
    private String jsonStr;
    
    
	public Integer getCouponMoneyType() {
		return couponMoneyType;
	}

	public void setCouponMoneyType(Integer couponMoneyType) {
		this.couponMoneyType = couponMoneyType;
	}

	public Integer getLimitModeType() {
		return limitModeType;
	}

	public void setLimitModeType(Integer limitModeType) {
		this.limitModeType = limitModeType;
	}

	public Integer getInventory() {
		return inventory;
	}

	public void setInventory(Integer inventory) {
		this.inventory = inventory;
	}

	public void setTotalMsg(String totalMsg) {
		this.totalMsg = totalMsg;
	}

	public String getShopCouponName() {
		return shopCouponName;
	}

	public void setShopCouponName(String shopCouponName) {
		this.shopCouponName = shopCouponName;
	}

	public void setTotalMsg(String totalMsg ,Integer money ,Integer usedCount ) {
		if(totalMsg == null){
			this.totalMsg = money/10+"元券：使用"+usedCount+"张";
		}else {
			this.totalMsg = totalMsg + "  |  " + money/10+"元券：使用"+usedCount+"张";
		}
	}

	public String getTotalMsg() {
		return totalMsg;
	}


	public String getShopNane() {
		return shopNane;
	}

	public void setShopNane(String shopNane) {
		this.shopNane = shopNane;
	}

	public String getCouponLimitType() {
		return couponLimitType;
	}

	public void setCouponLimitType(String couponLimitType) {
		this.couponLimitType = couponLimitType;
	}

	public Integer getBalance() {
		return balance;
	}

	public void setBalance(Integer balance) {
		this.balance = balance;
	}

	public String getJsonStr() {
        return jsonStr;
    }

    public void setJsonStr(String jsonStr) {
        this.jsonStr = jsonStr;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getUsedCount() {
        return usedCount;
    }

    public void setUsedCount(Integer usedCount) {
        this.usedCount = usedCount;
    }

    public Integer getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    public String getParkingShopName() {
        return parkingShopName;
    }

    public void setParkingShopName(String parkingShopName) {
        this.parkingShopName = parkingShopName;
    }

    public String getParkingShopLocation() {
        return parkingShopLocation;
    }

    public void setParkingShopLocation(String parkingShopLocation) {
        this.parkingShopLocation = parkingShopLocation;
    }

    public String getParkingShopOwnerName() {
        return parkingShopOwnerName;
    }

    public void setParkingShopOwnerName(String parkingShopOwnerName) {
        this.parkingShopOwnerName = parkingShopOwnerName;
    }
}
